home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 March
/
PCWorld_2007-03_cd.bin
/
komunikace
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Browser Check.sd
< prev
next >
Wrap
INI File
|
2006-09-13
|
820b
|
43 lines
[SUBJECT]
Description=Checks the browser version
ImageIndex=-1
Folder=Tools
[HEAD_TEXT]
;<script language="JavaScript">
;<!-- Begin
;function onlyNewbrowsers() {
;browser = (((navigator.appName == "Netscape") &&
;(parseInt(navigator.appVersion) >= `Netscape_Version` )) ||
;((navigator.appName == "Microsoft Internet Explorer") &&
;(parseInt(navigator.appVersion) >= `IE_Version` )));
;if (browser) {
;alert('You are obviously using new Netscape or MSIE. Older browsers are not allowed to read this.....');}
;else {}
;}
;// End -->
;</script>
;
[BODY_TEXT]
;<div align="center">
;<form action="" onSubmit="onlyNewbrowsers()">
;<input type="submit" Value="New Browsers Only Script">
;</form>
;</div>
[`Netscape_Version`]
Kind=S
Value=3
[`IE_version`]
Kind=S
Value=4